package com.hzw.saas.common.syslog.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import lombok.Data;

/**
 * access log记录级配置
 *
 * @author zzl
 * @since 04/19/2021
 */
@Data
@Component
@ConfigurationProperties(prefix = "saas.log", ignoreInvalidFields = true, ignoreUnknownFields = true)
public class SysLogLevelConfig {

    /**
     * access log记录级别阈值
     * 低于此级别的log不会被记录
     *
     */
    private String level = "debug";

}
